<template>
    <view class="content">
        <up-sticky bgColor="#fff">
            <up-tabs :list="list" @click="click"
            lineColor="#F6D56C"
            :activeStyle="{
            color: '#F6D56C',
            fontWeight: 'bold',
            transform: 'scale(1.05)'
        }"  itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;width:100%"></up-tabs>
        </up-sticky>
    </view>
</template>
<script setup>
import { reactive } from 'vue';

// 创建响应式数据  
const list = reactive([
    { name: '未查看' },
    { name: '已查看' },
    { name: '已沟通' },
    { name: '已通过' },
    { name: '不合适' }
]);

// 定义方法  
function click(item) {
    console.log('item', item);
}

function toPage(url){
    uni.navigateTo({url})
}
</script>

<style lang="scss" scoped>

</style>